import { createModel } from "../utils/create-model";
import mongoose from "mongoose";
export const User = createModel("user", {
  name: {
    type: String,
    required: true,
    unique: true,
  },
  password: {
    type: String,
    required: true,
  },
  role: mongoose.Schema.Types.ObjectId,
});
